package com.ruoyi.household.service;

import java.util.List;
import com.ruoyi.household.domain.HsHousehold;
import com.ruoyi.user.domain.HsUser;

/**
 * 住户信息Service接口
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public interface IHsHouseholdService 
{
    /**
     * 查询住户信息
     * 
     * @param id 住户信息主键
     * @return 住户信息
     */
    public HsHousehold selectHsHouseholdById(Long id);

    /**
     * 查询住户信息列表
     * 
     * @param hsHousehold 住户信息
     * @return 住户信息集合
     */
    public List<HsHousehold> selectHsHouseholdList(HsHousehold hsHousehold);

    /**
     * 新增住户信息
     * 
     * @param hsHousehold 住户信息
     * @return 结果
     */
    public int insertHsHousehold(HsHousehold hsHousehold);

    /**
     * 修改住户信息
     * 
     * @param hsHousehold 住户信息
     * @return 结果
     */
    public int updateHsHousehold(HsHousehold hsHousehold);

    /**
     * 批量删除住户信息
     * 
     * @param ids 需要删除的住户信息主键集合
     * @return 结果
     */
    public int deleteHsHouseholdByIds(Long[] ids);

    /**
     * 删除住户信息信息
     * 
     * @param id 住户信息主键
     * @return 结果
     */
    public int deleteHsHouseholdById(Long id);

    int insertHsHouseholdRegister(HsUser hsUser);

}
